<div id="order_detail_modal" class="modal fade">
    <div class="modal-dialog modal-lg" >
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title">订单详情</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                基本信息
                            </div>
                            <!-- /.panel-heading -->
                            <div class="panel-body">
                            <table>
                                <tr><td>订单号：</td><td id="order_serial_id"></td></tr>
                                <tr><td>订单状态：</td><td id="status"></td></tr>
                                <tr><td>下单时间：</td><td id="createtime1"></td></tr>
                                <tr><td>发货时间：</td><td id="createtime2"></td></tr>
                                <tr><td>购货人：</td><td id="username"></td></tr>
                                <tr><td>总金额：</td><td id="price"></td></tr>
                                <tr><td>应付金额：</td><td id="realprice"></td></tr>
                                <tr><td>备注：</td><td id="note"></td></tr>
                            </table>
                            </div>
                            <!-- /.panel-body -->
                        </div>
                        <!-- /.panel -->
                    </div>
                    <!-- /.col-sm-6 -->
                    <div class="col-sm-6">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                收货人信息
                            </div>
                            <!-- /.panel-heading -->
                            <div class="panel-body">
                            <table>
                                <tr><td>收货人：</td><td id="receivename"></td></tr>
                                <tr><td>收货地址：</td><td id="address"></td></tr>
                                <tr><td>收货电话：</td><td id="phone"></td></tr>
                                <tr><td>收货时间：</td><td id="receivetime"></td></tr>
                            </table>
                            </div>
                            <!-- /.panel-body -->
                        </div>
                        <!-- /.panel -->
                    </div>
                    <!-- /.col-sm-6 -->
                    <div class="col-sm-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                A类商品信息
                            </div>
                            <!-- /.panel-heading -->
                            <div class="panel-body">
                                <table class="table table table-hover table-bordered table-striped table-striped">
                                	<thead>
                                		<tr>
                                			<td>商品名称</td>
                                			<td>条形码货号</td>
                                			<td>价格</td>
                                			<td>数量</td>
                                			<td>属性</td>
                                			<td>库存</td>
                                			<td>小计</td>
                                			<td>操作</td>
                                		</tr>
                                	</thead>
                                	<tbody id="a_product">
                                		
                                	</tbody>
                                	<tfoot>
                                		<tr>
                                			<td colspan="8" style="text-align:right">
                                			商品总金额：<font id="a_price"></font>
                                			</td>
                                		</tr>
                                		<tr>
                                			<td colspan="8" style="text-align:right">
                                				= 订单总金额：<font id="a_realprice"></font>
                                			</td>
                                		</tr>
                                	</tfoot>
                                </table>
                            </div>
                            <!-- /.panel-body -->
                        </div>
                        <!-- /.panel -->
                    </div>
                    <!-- /.col-sm-6 -->
                    <div class="col-sm-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                B类商品信息
                            </div>
                            <!-- /.panel-heading -->
                            <div class="panel-body">
                                <table class="table table table-hover table-bordered table-striped table-striped">
                                	<thead>
                                		<tr>
                                			<td>商品名称</td>
                                			<td>条形码货号</td>
                                			<td>价格</td>
                                			<td>数量</td>
                                			<td>属性</td>
                                			<td>库存</td>
                                			<td>小计</td>
                                			<td>操作</td>
                                		</tr>
                                	</thead>
                                	<tbody id="b_product">

                                	</tbody>
                                	<tfoot>
                                		<tr>
                                			<td colspan="8" style="text-align:right">
                                			商品总金额：<font id="b_price"></font>
                                			</td>
                                		</tr>
                                		<tr>
                                			<td colspan="8" style="text-align:right">
                                				= 订单总金额：<font id="b_realprice"></font>
                                			</td>
                                		</tr>
                                	</tfoot>
                                </table>
                            </div>
                            <!-- /.panel-body -->
                        </div>
                        <!-- /.panel -->
                    </div>
                    <div class="col-sm-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                操作信息
                            </div>
                            <!-- /.panel-heading -->
                            <div class="panel-body">
                            	<div class="col-sm-12" style="height:100px">
                                <div class="col-sm-2">操作备注：</div>
                                <textarea id="note" class="col-sm-8" style="height:80px"></textarea>
                              </div>
                              <div class="col-sm-8">
                                <div class="col-sm-4">当前可执行操作：</div>
                                <div id="log_btn" ></div>
                              </div>
                              <div class="col-sm-8">
                              	<br><br>
                              	<table class="table table table-hover table-bordered table-striped table-striped">
                                	<thead>
                                		<tr>
                                			<td>操作者</td>
                                			<td>操作时间</td>
                                			<td>订单状态</td>
                                			<td>备注</td>
                                		</tr>
                                	</thead>
                                	<tbody id="log_table">
                                	</tbody>
                                </table>
                              </div>
                            </div>
                            <!-- /.panel-body -->
                        </div>
                        <!-- /.panel -->
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div id="return_modal" class="modal fade">
  <div class="modal-dialog" >
    <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
          <h4 class="modal-title">退货</h4>
      </div>
      <div class="modal-body">
        <div class="row">
            <div class="form-group">
            <div class="col-sm-12">
                <br>
                <div class="col-sm-1"></div>
                <div class="col-sm-3" style="padding-left:15px;padding-top:5px">
                        <label for="return_num" class="control-label">退货数量：</label>
                    </div>
                    <div class="col-sm-6">
                        <input id="return_num" name="return_num" class="form-control"></input>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" onclick="modProductStatus()">确认</button>
        <button class="btn btn-defalt" data-dismiss="modal">关闭</button>
        </div>
        </div>
    </div>
</div>